package cn.sq.musicserver.plug.model.qqmusicapi.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Created with IntelliJ IDEA.
 * User: SQ
 * Date: 2021/1/6
 * Time: 13:22
 * Description:
 */
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "QQMusicAPI歌词返回参数", description = "QQMusicAPI歌词返回参数")
public class APILyircResult {


    /**
     * result : 100
     * data : {"retcode":0,"code":0,"subcode":0,"lyric":"[ti:找朋友]\n[ar:贝瓦儿歌]\n[al:贝瓦儿歌 系列3]\n[by:]\n[offset:0]\n[00:00.00]找朋友 - 贝瓦儿歌\n[00:11.58]找呀找呀 找朋友\n[00:13.65]找到一个好朋友\n[00:15.81]敬个礼 握握手\n[00:17.93]你是我的好朋友\n[00:22.41]找呀找呀 找朋友\n[00:24.52]找到一个好朋友\n[00:26.77]敬个礼 握握手\n[00:28.93]你是我的好朋友\n[00:33.44]找呀找呀 找朋友\n[00:35.47]找到一个好朋友\n[00:37.71]敬个礼 握握手\n[00:39.91]你是我的好朋友","trans":""}
     */

    private int result;
    private DataBean data;

    @NoArgsConstructor
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public static class DataBean {
        /**
         * retcode : 0
         * code : 0
         * subcode : 0
         * lyric : [ti:找朋友]
         [ar:贝瓦儿歌]
         [al:贝瓦儿歌 系列3]
         [by:]
         [offset:0]
         [00:00.00]找朋友 - 贝瓦儿歌
         [00:11.58]找呀找呀 找朋友
         [00:13.65]找到一个好朋友
         [00:15.81]敬个礼 握握手
         [00:17.93]你是我的好朋友
         [00:22.41]找呀找呀 找朋友
         [00:24.52]找到一个好朋友
         [00:26.77]敬个礼 握握手
         [00:28.93]你是我的好朋友
         [00:33.44]找呀找呀 找朋友
         [00:35.47]找到一个好朋友
         [00:37.71]敬个礼 握握手
         [00:39.91]你是我的好朋友
         * trans :
         */
        private int retcode;
        private int code;
        private int subcode;
        private String lyric;
        private String trans;
    }
}
